package ModelLayer;


/**
 * Write a description of class RegisteredCustomer here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class RegisteredCustomer extends Person
{
    private String address;
    private int phoneNumber;
    private String city;
    private int ZIPCode;
    private int maxCredit;

    /**
     * Constructor for objects of class RegisteredCustomer
     */
    
    public RegisteredCustomer()
    {
    }
    public RegisteredCustomer(String address, int phoneNumber, String city, int ZIPCode, int maxCredit)
    {
        this.address = address;
        this.phoneNumber = phoneNumber;
        this.city = city;
        this.ZIPCode = ZIPCode;
        this.maxCredit = maxCredit;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public void setPhoneNumber(int phoneNumber)
    {
        this.phoneNumber = phoneNumber; 
    }
    
    public int getPhoneNumber()
    {
        return phoneNumber;
    }
    
    public void setCity(String city)
    {
        this.city = city;
    }
    
    public String getCity()
    {
        return city;
    }
    
    public void setZIPCode(int ZIPCode)
    {
        this.ZIPCode = ZIPCode; 
    }
    
    public int getZIPCode()
    {
        return ZIPCode;
    }
    
    
    public void setMaxCredit(int maxCredit)
    {
        this.maxCredit = maxCredit; 
    }
    
    public int getMaxCredit()
    {
        return maxCredit;
    }

}
